home *** CD-ROM | disk | FTP | other *** search
/ .net 2000 August / NET74.ISO / pc / Software / JavaApplet / AnfyMacBeta1.sea / Anfy for Macintosh / anjavapp / cfade / anfade.txt < prev    next >
Encoding:
Text File  |  1999-07-05  |  5.6 KB  |  140 lines  |  [TEXT/ttxt]

  1.  
  2.           AnfyFade - Copyright (C) by Fabio Ciucci 1996-99
  3.  
  4.  
  5. This applet can execute a cross-fade between any identically sized GIF or 
  6. JPG images.
  7.  
  8. The transparent image spider2.gif is a courtesy of Lone Star Posse Prod. Inc.
  9.  
  10. Thanks to Ibon Tolosana for progressive fading.
  11.  
  12. **************************************************************************
  13.  
  14. NECESSARY FILES.
  15.  
  16. Apart from image files to fade, and an optional overlay image, the 
  17. following 3 ".class" files must be uploaded: 
  18.  
  19. AnFade.class
  20. Lware.class
  21. anfy.class
  22.  
  23. Plus, AnFade.jar for speedy loading on recent browsers.
  24.  
  25. ***************************************************************************
  26.  
  27. EXAMPLE.
  28.  
  29. Insert the <applet> tag in your html document as follows to add this applet
  30. to your page (Comments after the ";" symbol are code explanations and
  31. acceptable min/max values. They are not part of the applet language):
  32.  
  33.  
  34. <applet archive="AnFade.jar" code="AnFade.class" width="186" height="207">
  35. <param name="credits" value="Applet by Fabio Ciucci (www.anfyteam.com)">
  36. <param name="regcode" value="NO">          ; Registration code (if you have it)
  37. <param name="regnewframe" value="YES">     ; Reglink opened in new frame?
  38. <param name="regframename" value="_blank"> ; Name of new frame for reglink
  39. <param name="image1" value="imfad1.gif">   ; Image 1 to load
  40. <param name="image2" value="imfad2.gif">   ; Image 2 to load
  41. <param name="image3" value="imfad3.gif">   ; Image 3 to load
  42. <param name="link1" value="http://www.anfyteam.com">   ; link 1
  43. <param name="link2" value="NO">                        ; link 2
  44. <param name="link3" value="NO">                        ; link 3
  45. <param name="statusmsg1" value="anfy 1">   ; statusbar msg on image 1
  46. <param name="statusmsg2" value="anfy 2">   ; statusbar msg on image 2
  47. <param name="statusmsg3" value="anfy 3">   ; statusbar msg on image 3
  48. <param name="res" value="1">               ; resolution (1-8)
  49. <param name="speed" value="8">             ; speed of fade (1-255)
  50. <param name="pause" value="1500">          ; pause (value = milliseconds).
  51. <param name="progressivefade" value="YES"> ; Progresive fading ("YES" or "NO")
  52. <param name="overimg" value="NO">          ; Optional image over applet
  53. <param name="overimgX" value="0">          ; Over image X offset
  54. <param name="overimgY" value="0">          ; Over image Y offset
  55. <param name="memdelay" value="1000">       ; Memory deallocation delay
  56. <param name="priority" value="3">          ; Task priority (1..10)
  57. <param name="MinSYNC" value="10">          ; Min. milliseconds/frame for sync
  58. Sorry, your browser doesn't support Java ; Msg in no java browsers
  59. </applet>
  60.  
  61. ************************************************************************
  62.  
  63. INSTRUCTIONS.
  64.  
  65. The following instructions describe how to change parameters:
  66.  
  67. The images (GIF and/or JPG) can be of any size, but all image dimensions must
  68. be identical.
  69.  
  70. Attempting to change the credits parameter will disable the applet.
  71. To activate the reg parameters read the shareware registration notes.
  72. In the "regcode" parameter, place the registration code you
  73. purchased from the author. If the code is correct and the applet is run from
  74. the registered domain name, you can use "link" parameters to link to a URL
  75. when the applet is "clicked".
  76.  
  77. If you set "regnewframe" to "YES", you can specify a specific frame location
  78. for the reglink:
  79.  
  80. "_blank"  : To load the link in a new blank unnamed browser window.
  81. "_self"   : To load the link into the same window the applet occupies.
  82. "_parent" : To load the link into the immediate FRAMESET parent.
  83. "_top"    : To load the link into the top body of the window.
  84.  
  85. You can also set a custom frame name, such as "myframe1".
  86.  
  87. With the "overimg" parameter you can specify the name of an image that will
  88. be painted over the applet. The best options are transparent GIF images.
  89. NOTE: Animated GIF images are supported, but will be displayed as animated
  90. only on latest browsers (Netscape 4 and Explorer 4 or newer).
  91. With "overimgX" and "overimgY" you can center the image over the applet area.
  92.  
  93. Applet size is determined by "res": "res=1" shows the graphic at natural size,
  94. "res=2" shows it at double size, etc.
  95.  
  96. It is important to update the width and height tags, otherwise the applet will
  97. not display properly on browsers.
  98.  
  99. The number of images to have in the crossfading slideshow is unlimited, but
  100. the minimum is 2.
  101.  
  102. If you want to fade between just 2 images, type:
  103.  
  104. <param name=image1 value="imfad1.gif">
  105. <param name=image2 value="imfad2.gif">
  106.  
  107. If you want to fade between 3 images, type:
  108.  
  109. <param name=image1 value="imfad1.gif">
  110. <param name=image2 value="imfad2.gif">
  111. <param name=image3 value="imfad3.gif">
  112.  
  113. Repeat the code for each image. 
  114.  
  115. You can change the displayed message for each image in the "statusmsg" 
  116. code. "Statusmsg1" is the message displayed with the first image,
  117. "statusmsg2" the second image, etc.
  118.  
  119. When you purchase and register the applet, the "link1","link2", etc.
  120. parameters will be enabled and this applet can become a crossfade banner as
  121. follows:
  122.  
  123. <param name=link1 value="http://(name of link">
  124. <param name=link2 value="http://(name of link">
  125. You can place a URL link related to each image.
  126.  
  127. The speed parameter determines the speed of fade between images. This value
  128. determines the number of frame as 256/speed. A good value is 8, which gives
  129. you 32 frames. This has shown to be the optimum resolution for 65000 colour
  130. displays, and shows quite fast. Values under 8 are applicable for a 24bit
  131. video mode (16 million colors), but show the images slower.
  132.  
  133. The pause, in milliseconds, determines the "hold" time for images between
  134. the fades.
  135.  
  136. You can optionally enable the "progressivefade" option, setting it to "YES".
  137. This will fade the image pixels not at same time, but with some nice steps.
  138.  
  139.  
  140.